[Railcraft Mod] Elevator Control
#61
Posted 18 June 2013 - 04:15 AM
You can put a cart on the track on any floor and use it.
What do you mean by "Just pulses the passenger rail across the system"?
If the elevator power does not come on, the receiving floor may be out of range or no longer exist. Currently if you remove a computer, it does not get removed from the list on the other computers.
If you'd like to PM me the server details I'll gladly take a look.
#62
Posted 18 June 2013 - 01:05 PM
As for pulsing, I thought that you may be tracking the position of the cart to prevent one station from sending it somewhere that floor could not send it. Since each computer is responsible only for it's floor, it would be silly to allow a command that can not fulfilled. It would just lock the system up.
So I was thinking on this:
1. Cart is on the passenger rail.
2. Player gets in, accesses computer.
3. Player chooses a floor and the cart is launched.
4. Cart passes over detector registering cart left.
5. Cart passes over destination detector registering cart is at that floor.
6. cart hits passenger rail and stops.
Consequences:
1. Only the station with the cart can send the cart.
2. All other stations can call the cart.
3. If for some reason the cart gets lost, or does not arrive, the system can try to find the cart py pulsing all of the boarding rails in the system sending the cart to the lowest floor. The system can also before this happens run a check of the active computers to make sure no floors have changed. This way the cart that is lost will either hit a sensor leaving or landing at a station.
As I stands, it looks like the system does not track the cart so it knows where it is. And while a cart can be deployed from any location, the system can lock up if the cart never gets to where it is going for some reason. Any way I will see about getting you access to the server. It is being a little odd right now...for some reason mobs are not spawning...heh. l8r.
#63
Posted 19 June 2013 - 01:54 AM
#64
Posted 03 July 2013 - 12:01 PM
- Added 'Call Cart' option (Space bar)
Sorry it took so long. Kinda busy.
#65
Posted 08 July 2013 - 01:08 PM
First off, wonderful bit of software and idea! First elevator which makes sense in minecraft.
Second, i'm having a weird error that might, or might not, come from other mods that I've installed, or maybe some bug somewhere.
The thing is, that when I have created the elevator, and runs it, it goes to the floor of my choosing but the computers stays on "Elevator busy Please wait" in the floor i have left, and "Incomming cart Please clear the track" on the floor i'm going to.
I have created 2 elevators now, one replica from your tutorial video, and one of my own designs, but none does it correct. Thing is though, if I exits the world, and goes back in, it seems the computers have resetted and I can make it to another floor before it happens again.
I'm "hoping" that I have just missed something vital in my designs, but I really can't make out what it is. :S
Best Regards, DigiDamage
#66
Posted 08 July 2013 - 02:24 PM
I'm glad you think it's a good idea!
Sorry to hear you're having a problem with it. It sounds like the issue is with the detector.
It could be the actual detector - there are lots of different types of detector and only a few react to the player. Some that only detect empty carts, or carts with animals in etc.
Or it could be the cable connection. Are you using RedPower2 or MFR for the cables?
Note that there are multiple shades of some of the colours and some look very similar. The default for the detector is white so unless you've changed it, I'd be surprised if this was the problem.
Let me know how you get on!
#67
Posted 09 July 2013 - 01:40 AM
Your welcome!
But, I haven't gotten this thing to work. I really can't even find the issue. And just to be sure, default wires are "White", "Purple" and "Lime insulated wires" right? "Red Alloy Wire" and "Bundled Cable"? Those should work with just running the setup if i'm correct.
And I have tried both Redpower 1 & 2, redpower 1 with MFR, and redpower 2 standalone (except for other needed mods ofc).
As for the detectors, i have tried most of the ones who can detect either a cart or a player, but no one is working.
The only thing i haven't tried, and I hope this is my big flaw, is some newer version of MC. I have been running on 1.4.7 and i might suspect that something isn't working because of that? I read through this forum but can't find much information regarding version and I guess that is because this is more of a software then a version-depending mod.
Is there anything else that I can try at this stage or am I doomed because of a fault that doesn't wanna be found?
Best Regards, DigiDamage
#68
Posted 09 July 2013 - 04:50 AM
It's strange because v2.0.0 was for 1.4.6 before I knew about MFR's cables.
I'll let you know when I find the bug.
Edit:
It's working for me now.
I think it might have been something to do with the file encoding but once it's been through pastebin I think it's just plain ANSI with Unix file endings.... so not really sure.
Try deleting and trying again: http://pastebin.com/VYwxa3su
#69
Posted 09 July 2013 - 07:50 AM
- Hey audience! I will be presenting the award for the biggest idiot of the year!
And the winner is..... DigiDamage! Come up here you complete and utter idiot!
- Thank you Satan...."
I am so sorry for have been wasting your time Penguin, it was a minor, but critical error that I made. The fricking detectorblocks were not facing downwards and the opening was on the track, not the alloy wire. I feel so very dumb and I hope you don't get mad!
Your coding is awesome, and now that my stupidity is finally over (xD), i can go on with my life in MC.
Thank you very much for your time, and goodbye!
Best Regards, DigiStupid
Edit: Although, something isn't working. I have 7 floors on my building, ground, f1-5 and top floor, but it will not go from bottom floor to top floor, the ele rails won't activate and just stays offline, and same "error" as before shows up, no detection "Please wait...".
I tried to use the GPS system, but i couldn't get that to work. As my previous stupidity have let me down, i might be doing something wrong when setting up.
I made the first 4 floors as GPS hosts with z,x,y coords, but then when I make the fifth floor computer, it won't find any gps signals.
Is there anything i must setup or use other devices/blocks before I can make use of the GPS system? Is there any script included in the elevator-main that activates "GPS-host on startup, send ping" or something?
#70
Posted 09 July 2013 - 09:31 AM
The whole Satan thing is a bit weird though. He is the father of lies. You are not an idiot. I made the same mistake myself when I first tried using them. I's not obvious and it would seem perfectly logical that the square on the texture could be the detector rather than the output.
#72
Posted 09 July 2013 - 11:00 AM
DigiDamage, on 09 July 2013 - 07:50 AM, said:
I tried to use the GPS system, but i couldn't get that to work. As my previous stupidity have let me down, i might be doing something wrong when setting up.
I made the first 4 floors as GPS hosts with z,x,y coords, but then when I make the fifth floor computer, it won't find any gps signals.
Is there anything i must setup or use other devices/blocks before I can make use of the GPS system? Is there any script included in the elevator-main that activates "GPS-host on startup, send ping" or something?
The modems have a max range (range is even less in thunder storms). It sounds like the floors may be out of range of eachother.
You can adjust the range in .minecraft\config\ComputerCraft.cfg
At some point I'll make the middle floors relay the message up and down, but it will be a while before I do.
EDIT: Ahhhh. GPS doesn't work if all the hosts are in a line. you need to place a computer (with a modem) off to the side and run gps host x y z
#73
Posted 09 July 2013 - 02:36 PM
OminousPenguin, on 09 July 2013 - 11:00 AM, said:
Aha! Gonna try that, because maxrange didn't change a bit! Will report back with results!
Best Regards, DigiDamage
Edit: Finally! Got GPS-host to work. Just put 2 computers on first floor and 3 in a row (y), and then I just hade to choose the second option when installing new computers and it got the information.
And most definitly finally! Got the whole elevator to work properly! It worked like a charm until top floor, then it died, fortunatly, I had just missed a alloy cable behind on the elevator track. So now it goes from top to bottom and vice verse without a hickup!
I am very glad that you have taken your time and I giving alot of kudos to you. You have also sparked my flame to continue reading on math so I can take a proper education in programming!
Very Best Regards from Sweden, DigiDamage
#74
Posted 27 July 2013 - 03:39 AM
OminousPenguin, on 09 July 2013 - 09:31 AM, said:
The whole Satan thing is a bit weird though. He is the father of lies. You are not an idiot. I made the same mistake myself when I first tried using them. I's not obvious and it would seem perfectly logical that the square on the texture could be the detector rather than the output.
Technically that is a misconception. Lucifer with the quire of angels is best related to as opposing council in a court of law...at least before he was cast out. His roll was not lies, but to act as prosecutor of humanity. To keep Gods opinion of his creations close to reality and to prevent a drastic sway of opinion one way or another. This view was later twisted to make the character out to be the bad guy and to place him in the role of tempter and lair, persecuting those of immoral or corrupt soul and deeds. But that was more the Catholic Churches thing as they needed a hell so they had sway and control over the uneducated masses. It is also how they became one of the most powerful and wealthy organizations in the world.
But to get back on topic, any progress?
#75
Posted 31 July 2013 - 08:45 PM
#76
Posted 04 August 2013 - 07:22 PM
#77
Posted 05 August 2013 - 10:49 AM
If you're still getting the error try deleting the files and redownloading the installer. Make sure you're downloading the latest version.
Regarding rednet cables, they work interchangeably with RP2 cables. You don't have to do anything different.
#78
Posted 18 August 2013 - 03:28 PM
I've been a long-time follower of this thread, but have yet to post... so I decided to go ahead and register. So far I have to say that I LOVE the program, and am working to implement it as best as possible in my FTB server. I did have a few questions/ideas though...
First: Has there been any attempt at allowing multiple elevators in close proximity to one another? I would love to be ably to use, say, three or four in my tall skyscrapers... as far as I know and have tried though, this is not possible (I did see it previously mentioned).
Second: Would it be at all possible to implement a door system on each floor that allowed the player to call carts, but also kept empty floors closed like a real elevator? I've been expiramenting with redpower 2 and have a basic system in place, but it ain't pretty.
Thanks, Git
#79
Posted 18 August 2013 - 04:12 PM
As you said, I've been aware of the desire for multiple elevators near eachother but haven't done anything about it yet. - I rarely play Minecraft or work on this program... sorry!
Your second idea is definitely possible.
I want to keep it as easy as possible for people to set up and get it running so that means making features optional and making a good interface.
Anyway... if you're desperate and want to try editing it yourself, make multiple copies of the pastebin and find and replace all instances of "ELEV_" with "ELE1_" for one elevator, "ELE2_" for another - then the two would ignore eachother's messages. This is obviously just a dirty hack but should get it working for you.
#80
Posted 18 August 2013 - 04:25 PM
OminousPenguin, on 18 August 2013 - 04:12 PM, said:
As you said, I've been aware of the desire for multiple elevators near eachother but haven't done anything about it yet. - I rarely play Minecraft or work on this program... sorry!
Your second idea is definitely possible.
I want to keep it as easy as possible for people to set up and get it running so that means making features optional and making a good interface.
Anyway... if you're desperate and want to try editing it yourself, make multiple copies of the pastebin and find and replace all instances of "ELEV_" with "ELE1_" for one elevator, "ELE2_" for another - then the two would ignore eachother's messages. This is obviously just a dirty hack but should get it working for you.
I'll give it a try, thanks!
-Git
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











